# == Schema Information
#
# Table name: promotions
#
#  id          :integer          not null, primary key
#  title       :string
#  type        :string
#  actived     :boolean
#  started_at  :datetime
#  ended_at    :datetime
#  discount    :decimal(, )
#  created_at  :datetime         not null
#  updated_at  :datetime         not null
#  product_ids :string           default([]), is an Array
#  desc        :text
#  summary     :string
#

class PromotionSerializer < ActiveModel::Serializer
  attributes :id
end
